/* ============================================
   KL TECHNOLOGY SOLUTIONS - CUSTOM STYLESHEET
   Colors: Navy #1B2D5B | Green #1E7E34
   ============================================ */

/* ---------- CSS VARIABLES ---------- */
:root {
  --primary: #1B2D5B;
  --primary-dark: #12203f;
  --primary-light: #2a4380;
  --secondary: #1E7E34;
  --secondary-dark: #165c26;
  --secondary-light: #28a745;
  --accent-bg: #f4f7fa;
  --white: #ffffff;
  --dark: #1a1a2e;
  --text: #555555;
  --text-light: #777777;
  --border: #e0e5ec;
  --shadow: 0 5px 30px rgba(27, 45, 91, 0.08);
  --shadow-hover: 0 10px 40px rgba(27, 45, 91, 0.15);
  --transition: all 0.3s ease;
  --radius: 8px;
}

/* ---------- RESET / BASE ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary);
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--primary);
  font-weight: 600;
}

.section-padding {
  padding: 80px 0;
}

.bg-light-custom {
  background-color: var(--accent-bg);
}

/* ---------- SECTION HEADING STYLES ---------- */
.section-tag {
  display: inline-block;
  color: var(--secondary);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  position: relative;
  padding-left: 45px;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 35px;
  height: 2px;
  background: var(--secondary);
}

.text-center .section-tag {
  padding-left: 0;
  padding-bottom: 10px;
}

.text-center .section-tag::before {
  display: none;
}

.text-center .section-tag::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: var(--secondary);
  margin: 8px auto 0;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
  line-height: 1.3;
}

.section-title span {
  color: var(--secondary);
}

.section-desc {
  color: var(--text-light);
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- BUTTONS ---------- */
.btn-primary-custom {
  background: var(--secondary);
  color: var(--white);
  border: 2px solid var(--secondary);
  padding: 12px 30px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.btn-primary-custom:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(27, 45, 91, 0.3);
}

.btn-outline-custom {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 12px 30px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.btn-outline-custom:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

/* ---------- TOP BAR ---------- */
.top-bar {
  background: var(--primary);
  color: var(--white);
  padding: 8px 0;
  font-size: 13px;
}

.top-info {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.top-info li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-info li i {
  color: var(--secondary-light);
}

.top-social {
  list-style: none;
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
}

.top-social li a {
  color: var(--white);
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 12px;
  transition: var(--transition);
}

.top-social li a:hover {
  background: var(--secondary);
  border-color: var(--secondary);
}

/* ---------- HEADER / NAVIGATION ---------- */
.main-header {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  z-index: 1050;
}

.main-header .navbar {
  padding: 10px 0;
}

/* Desktop: navbar-collapse visible as flex row */
@media (min-width: 992px) {
  .navbar-collapse {
    display: flex !important;
    align-items: center;
    flex-basis: auto;
  }
}


.navbar-brand img {
  height: 55px;
  width: auto;
}

/* Custom hamburger */
.navbar-toggler {
  border: none;
  padding: 8px;
  outline: none !important;
  box-shadow: none !important;
}

.navbar-toggler-bar {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--primary);
  margin: 5px 0;
  border-radius: 2px;
  transition: var(--transition);
}

.navbar-nav .nav-link {
  color: var(--primary);
  font-weight: 500;
  font-size: 14px;
  padding: 10px 16px !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--secondary);
}

.navbar-nav .nav-link::after {
  display: none;
}

.navbar-nav .nav-link.dropdown-toggle::after {
  display: inline-block;
  border: none;
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 10px;
  margin-left: 5px;
  vertical-align: middle;
  transition: var(--transition);
}

.nav-item.dropdown:hover .nav-link.dropdown-toggle::after {
  transform: rotate(180deg);
}

/* Nav CTA Button */
.nav-cta {
  margin-left: 10px;
}

.btn-quote {
  background: var(--secondary) !important;
  color: var(--white) !important;
  border-radius: 50px !important;
  padding: 10px 24px !important;
  font-size: 13px !important;
}

.btn-quote:hover {
  background: var(--primary) !important;
}

/* ---------- MEGA MENU (Below Navbar) ---------- */
.mega-dropdown {
  position: static;
}

.mega-menu {
  width: 750px;
  left: 50% !important;
  right: auto !important;
  margin-left: -375px;
  border: none;
  border-top: 3px solid var(--secondary);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 25px 20px;
  top: calc(100% + 10px) !important;
  background: var(--white);
  box-shadow: 0 15px 40px rgba(27, 45, 91, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  display: block !important;
  pointer-events: none;
}

.mega-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}

.mega-menu.mega-menu-wide {
  width: 900px;
  margin-left: -450px;
}

/* Hide unused elements */
.mega-close-btn,
.mega-menu-label {
  display: none;
}

/* Invisible bridge to cover gap between nav-link and mega-menu */
.mega-menu::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  width: 100%;
  height: 15px;
  background: transparent;
}

/* Desktop hover open */
@media (min-width: 992px) {
  .mega-dropdown:hover > .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: all;
  }
}

.mega-col {
  padding: 10px 20px;
}

.mega-col + .mega-col {
  border-left: 1px solid var(--border);
}

.mega-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary);
  display: inline-block;
}

.mega-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-links li {
  padding: 4px 0;
}

.mega-links li a {
  color: var(--text);
  font-size: 13.5px;
  font-weight: 400;
  transition: var(--transition);
  display: block;
  padding: 2px 0;
}

.mega-links li a:hover {
  color: var(--secondary);
  padding-left: 8px;
}

.mega-highlight {
  background: var(--accent-bg);
  border-radius: var(--radius);
  padding: 20px !important;
  border-left: none !important;
}

.mega-highlight p {
  font-size: 13px;
  color: var(--text);
  margin-bottom: 5px;
}

/* ---------- HERO SLIDER ---------- */
.hero-section {
  position: relative;
}

.hero-slide {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(27, 45, 91, 0.92) 0%, rgba(27, 45, 91, 0.7) 50%, rgba(30, 126, 52, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding: 40px 0;
}

.hero-subtitle {
  display: inline-block;
  color: var(--secondary-light);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 15px;
  padding: 5px 15px;
  border: 1px solid rgba(40, 167, 69, 0.4);
  border-radius: 30px;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  margin-bottom: 30px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Owl nav for hero */
.hero-slider .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}

.hero-slider .owl-nav button {
  pointer-events: all;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15) !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 50%;
  color: var(--white) !important;
  font-size: 20px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.hero-slider .owl-nav button:hover {
  background: var(--secondary) !important;
  border-color: var(--secondary) !important;
}

.hero-slider .owl-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}

.hero-slider .owl-dots .owl-dot span {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transition: var(--transition);
}

.hero-slider .owl-dots .owl-dot.active span {
  background: var(--secondary);
  width: 30px;
  border-radius: 10px;
}

/* ---------- ABOUT SECTION ---------- */
.about-image-wrapper {
  position: relative;
  padding: 20px;
}

.about-image-main img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-image-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100px;
  border-top: 4px solid var(--secondary);
  border-left: 4px solid var(--secondary);
  border-radius: 8px 0 0 0;
}

.about-image-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100px;
  height: 100px;
  border-bottom: 4px solid var(--primary);
  border-right: 4px solid var(--primary);
  border-radius: 0 0 8px 0;
}

.about-experience-badge {
  position: absolute;
  bottom: 30px;
  right: 0;
  z-index: 2;
}

.badge-inner {
  background: var(--secondary);
  color: var(--white);
  padding: 20px 25px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 10px 30px rgba(30, 126, 52, 0.3);
}

.badge-number {
  display: block;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
}

.badge-text {
  display: block;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  margin-top: 5px;
}

.about-lead {
  font-size: 16px;
  color: var(--dark);
  margin-bottom: 15px;
}

.about-features {
  margin-top: 25px;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-weight: 500;
  color: var(--primary);
  font-size: 14px;
}

.feature-dot {
  width: 10px;
  height: 10px;
  min-width: 10px;
  background: var(--secondary);
  border-radius: 50%;
}

/* ---------- SERVICES SECTION ---------- */
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.service-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-image img {
  transform: scale(1.08);
}

.service-number {
  position: absolute;
  bottom: -1px;
  right: 20px;
  background: var(--secondary);
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: var(--radius) var(--radius) 0 0;
}

.service-body {
  padding: 25px;
}

.service-body h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
}

.service-body p {
  font-size: 13.5px;
  color: var(--text);
  margin-bottom: 15px;
  line-height: 1.7;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--secondary);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-link:hover {
  color: var(--primary);
  gap: 10px;
}

/* ---------- INDUSTRIES SECTION ---------- */
.industry-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}

.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.industry-image {
  height: 280px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.industry-overlay {
  background: linear-gradient(to top, rgba(27, 45, 91, 0.95) 0%, rgba(27, 45, 91, 0.7) 50%, transparent 100%);
  padding: 30px 20px 20px;
  width: 100%;
  transition: var(--transition);
}

.industry-card:hover .industry-overlay {
  background: linear-gradient(to top, rgba(30, 126, 52, 0.95) 0%, rgba(30, 126, 52, 0.7) 60%, transparent 100%);
}

.industry-overlay h5 {
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.industry-overlay p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 12.5px;
  margin-bottom: 0;
  line-height: 1.6;
  opacity: 0;
  max-height: 0;
  transition: var(--transition);
}

.industry-card:hover .industry-overlay p {
  opacity: 1;
  max-height: 100px;
}

/* ---------- CTA SECTION ---------- */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--secondary-dark) 100%);
  padding: 60px 0;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(30, 126, 52, 0.15);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  color: var(--white);
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 10px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  margin-bottom: 0;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: flex-end;
  position: relative;
  z-index: 2;
}

.btn-cta-primary {
  background: var(--secondary);
  color: var(--white);
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  border: 2px solid var(--secondary);
  transition: var(--transition);
}

.btn-cta-primary:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-cta-outline {
  background: transparent;
  color: var(--white);
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: var(--transition);
}

.btn-cta-outline:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ---------- COUNTER SECTION ---------- */
.counter-section {
  background: var(--white);
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.counter-item {
  padding: 20px;
}

.counter-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--secondary);
  display: inline;
  line-height: 1;
}

.counter-suffix {
  font-size: 36px;
  font-weight: 700;
  color: var(--secondary);
}

.counter-label {
  font-size: 15px;
  color: var(--primary);
  font-weight: 500;
  margin-top: 8px;
  margin-bottom: 0;
}

/* ---------- TESTIMONIALS SECTION ---------- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 35px 30px;
  margin: 15px 10px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  border-bottom: 3px solid transparent;
}

.testimonial-card:hover {
  border-bottom-color: var(--secondary);
  box-shadow: var(--shadow-hover);
}

.testimonial-quote {
  margin-bottom: 15px;
}

.testimonial-quote i {
  font-size: 28px;
  color: var(--secondary);
  opacity: 0.3;
}

.testimonial-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 20px;
  min-height: 80px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}

.author-info h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
}

.author-info span {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 400;
}

.testimonial-rating i {
  color: #FFC107;
  font-size: 13px;
}

/* Testimonial Owl nav */
.testimonial-slider .owl-nav {
  text-align: center;
  margin-top: 30px;
}

.testimonial-slider .owl-nav button {
  width: 40px;
  height: 40px;
  background: var(--primary) !important;
  border-radius: 50%;
  color: var(--white) !important;
  font-size: 16px !important;
  margin: 0 6px;
  transition: var(--transition);
  border: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.testimonial-slider .owl-nav button:hover {
  background: var(--secondary) !important;
}

.testimonial-slider .owl-dots {
  text-align: center;
  margin-top: 20px;
}

.testimonial-slider .owl-dots .owl-dot span {
  width: 10px;
  height: 10px;
  background: var(--border);
  border-radius: 50%;
  transition: var(--transition);
}

.testimonial-slider .owl-dots .owl-dot.active span {
  background: var(--secondary);
  width: 25px;
  border-radius: 10px;
}

/* ---------- FAQ SECTION ---------- */
.faq-left {
  position: sticky;
  top: 100px;
}

.faq-left p {
  color: var(--text);
  font-size: 14px;
  line-height: 1.8;
}

.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius) !important;
  margin-bottom: 12px;
  overflow: hidden;
}

.accordion-button {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  padding: 18px 22px;
  background: var(--white);
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  background: var(--primary);
  color: var(--white);
  box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--border);
}

.accordion-body {
  font-size: 14px;
  color: var(--text);
  line-height: 1.8;
  padding: 20px 22px;
  background: var(--accent-bg);
}

/* ---------- CONTACT SECTION ---------- */
.contact-info-card {
  background: var(--primary);
  border-radius: var(--radius);
  padding: 35px 30px;
  height: 100%;
}

.contact-info-item {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-icon {
  width: 45px;
  height: 45px;
  min-width: 45px;
  background: rgba(30, 126, 52, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-light);
  font-size: 16px;
}

.contact-info-item h5 {
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-info-item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  margin-bottom: 0;
  line-height: 1.6;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 35px;
  box-shadow: var(--shadow);
  height: 100%;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
  padding: 12px 18px;
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--dark);
  transition: var(--transition);
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(30, 126, 52, 0.1);
}

/* ---------- FOOTER ---------- */
.main-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.7);
}

.footer-top {
  padding: 60px 0 30px;
}

.footer-logo {
  height: 50px;
  margin-bottom: 20px;
  background: white;
  padding: 5px 10px;
  border-radius: 4px;
}

.footer-about p {
  font-size: 13.5px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
}

.footer-title {
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--secondary);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  padding: 4px 0;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13.5px;
  transition: var(--transition);
}

.footer-links li a:hover {
  color: var(--secondary-light);
  padding-left: 6px;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  padding: 6px 0;
  font-size: 13.5px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footer-contact li i {
  color: var(--secondary-light);
  margin-top: 4px;
  min-width: 15px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  font-size: 13px;
}

.footer-bottom p {
  margin-bottom: 0;
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--secondary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 5px 15px rgba(30, 126, 52, 0.3);
}

.back-to-top:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ---------- ANIMATIONS ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
/* ========== MOBILE STYLES (991px and below) ========== */
@media (max-width: 991px) {
  .top-bar {
    display: none;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-slide {
    min-height: 500px;
  }

  .section-title {
    font-size: 28px;
  }

  .cta-content h2 {
    font-size: 24px;
  }

  .cta-buttons {
    justify-content: flex-start;
    margin-top: 20px;
  }

  /* ---- Mobile Navbar ---- */
  .main-header .navbar {
    padding: 8px 0;
  }

  .navbar-brand img {
    height: 42px;
  }

  .navbar-collapse {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: var(--white);
    z-index: 1080;
    padding: 0;
    transition: right 0.35s ease;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    display: block !important;
  }

  .navbar-collapse.show {
    right: 0;
  }

  /* Mobile menu backdrop */
  .mobile-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1075;
    display: none;
  }

  .mobile-backdrop.active {
    display: none;
  }

  /* Mobile menu header */
  .mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 2px solid var(--secondary);
    background: var(--primary);
  }

  .mobile-menu-header .mobile-logo {
    height: 32px;
    background: var(--white);
    padding: 3px 8px;
    border-radius: 4px;
  }

  .mobile-menu-close {
    width: 34px;
    height: 34px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--white);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
  }

  .mobile-menu-close:hover {
    background: var(--secondary);
  }

  /* Mobile nav links */
  .navbar-nav {
    padding: 10px 0;
  }

  .navbar-nav .nav-item {
    border-bottom: 1px solid var(--border);
  }

  .navbar-nav .nav-link {
    padding: 12px 20px !important;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .navbar-nav .nav-link.dropdown-toggle::after {
    transition: transform 0.3s ease;
  }

  .navbar-nav .nav-link.dropdown-toggle.active-dropdown::after {
    transform: rotate(180deg);
  }

  /* Mobile mega menu = accordion style */
  .mega-menu {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    margin-left: 0 !important;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: all;
    display: none !important;
    width: 100% !important;
    padding: 0;
    border-top: none;
    border-radius: 0;
    box-shadow: none;
    background: var(--accent-bg);
    transition: none;
  }

  .mega-menu.show {
    display: block !important;
  }

  .mega-col {
    padding: 12px 20px;
    border-left: none !important;
  }

  .mega-col + .mega-col {
    border-left: none;
    border-top: 1px solid var(--border);
    padding-top: 12px;
    margin-top: 0;
  }

  .mega-title {
    font-size: 13px;
    margin-bottom: 8px;
    padding-bottom: 6px;
    color: var(--secondary);
  }

  .mega-links li {
    padding: 3px 0;
  }

  .mega-links li a {
    font-size: 13px;
    padding: 4px 0 4px 10px;
    border-left: 2px solid transparent;
  }

  .mega-links li a:hover {
    border-left-color: var(--secondary);
    padding-left: 14px;
    background: transparent;
  }

  .mega-highlight {
    margin-top: 0;
    border-radius: 0 !important;
    padding: 15px 20px !important;
  }

  .mega-highlight .btn {
    font-size: 12px;
    padding: 8px 18px;
  }

  /* Mobile CTA button */
  .nav-cta {
    margin-left: 0;
    margin-top: 0;
    padding: 15px 20px;
    border-bottom: none !important;
  }

  .btn-quote {
    display: block !important;
    text-align: center;
    width: 100%;
    padding: 12px 20px !important;
    border-radius: var(--radius) !important;
  }
}

@media (max-width: 767px) {
  .section-padding {
    padding: 50px 0;
  }

  .hero-content h1 {
    font-size: 26px;
  }

  .hero-slide {
    min-height: 450px;
  }

  .hero-subtitle {
    font-size: 12px;
  }

  .section-title {
    font-size: 24px;
  }

  .about-experience-badge {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 15px;
    display: inline-block;
  }

  .counter-number {
    font-size: 36px;
  }

  .industry-image {
    height: 220px;
  }

  .cta-content h2 {
    font-size: 22px;
  }

  .contact-form-card {
    padding: 25px;
  }

  .hero-slider .owl-nav {
    display: none;
  }
}

@media (max-width: 575px) {
  .hero-content h1 {
    font-size: 22px;
  }

  .hero-buttons .btn {
    padding: 10px 20px;
    font-size: 12px;
  }

  .section-title {
    font-size: 22px;
  }
}

/* ============================================
   INNER PAGES - STYLES
   ============================================ */

/* ---------- PAGE BANNER ---------- */
.page-banner {
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--secondary-dark) 100%);
  padding: 100px 0 60px;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(30, 126, 52, 0.1);
}

.page-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
}

.page-banner-content {
  position: relative;
  z-index: 2;
}

.page-banner-content h1 {
  color: var(--white);
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
}

.page-banner .breadcrumb {
  margin: 0;
  padding: 0;
  background: none;
}

.page-banner .breadcrumb-item {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.page-banner .breadcrumb-item a {
  color: var(--secondary-light);
}

.page-banner .breadcrumb-item a:hover {
  color: var(--white);
}

.page-banner .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.9);
}

.page-banner .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- INNER PAGE CONTENT ---------- */
.page-content {
  padding: 80px 0;
}

.page-content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 15px;
}

.page-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
}

.page-content h4 {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}

.content-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
}

.content-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.content-image:hover img {
  transform: scale(1.03);
}

.content-image-tall {
  height: 400px;
}

.content-image-medium {
  height: 300px;
}

/* ---------- FEATURE / HIGHLIGHT BOXES ---------- */
.feature-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 25px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  border-bottom: 3px solid transparent;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-bottom-color: var(--secondary);
}

.feature-box-img {
  width: 100%;
  height: 180px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
}

.feature-box-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-box h5 {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.feature-box p {
  font-size: 13.5px;
  color: var(--text);
  margin-bottom: 0;
  line-height: 1.7;
}

/* ---------- CONTENT LIST (Bullet Points) ---------- */
.content-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.content-list li {
  padding: 10px 0;
  padding-left: 25px;
  position: relative;
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  line-height: 1.7;
}

.content-list li:last-child {
  border-bottom: none;
}

.content-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 17px;
  width: 10px;
  height: 10px;
  background: var(--secondary);
  border-radius: 50%;
}

/* ---------- TWO-COLUMN IMAGE + TEXT ---------- */
.img-text-row {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.img-text-row .img-col {
  flex: 0 0 45%;
}

.img-text-row .text-col {
  flex: 1;
}

/* ---------- TEAM CARDS ---------- */
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.team-card-img {
  height: 280px;
  overflow: hidden;
}

.team-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.team-card:hover .team-card-img img {
  transform: scale(1.05);
}

.team-card-body {
  padding: 20px;
}

.team-card-body h5 {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
}

.team-card-body span {
  font-size: 13px;
  color: var(--secondary);
  font-weight: 500;
}

.team-card-body p {
  font-size: 13px;
  color: var(--text);
  margin-top: 10px;
  margin-bottom: 0;
}

/* ---------- HIGHLIGHT CARD / INFO CARD ---------- */
.info-card {
  background: var(--primary);
  border-radius: var(--radius);
  padding: 35px 30px;
  color: var(--white);
}

.info-card h4 {
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}

.info-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.8;
}

.info-card .info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-card .info-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  padding-left: 20px;
  position: relative;
}

.info-card .info-list li:last-child {
  border-bottom: none;
}

.info-card .info-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  width: 8px;
  height: 8px;
  background: var(--secondary-light);
  border-radius: 50%;
}

/* ---------- PROCESS / STEPS ---------- */
.process-step {
  text-align: center;
  padding: 30px 20px;
}

.process-step .step-number {
  width: 60px;
  height: 60px;
  background: var(--secondary);
  color: var(--white);
  font-size: 24px;
  font-weight: 800;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.process-step h5 {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.process-step p {
  font-size: 13.5px;
  color: var(--text);
  margin-bottom: 0;
}

/* ---------- SERVICE DETAIL / PRODUCT DETAIL ---------- */
.detail-specs {
  background: var(--accent-bg);
  border-radius: var(--radius);
  padding: 30px;
}

.detail-specs h4 {
  font-size: 18px;
  margin-bottom: 20px;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.spec-item:last-child {
  border-bottom: none;
}

.spec-label {
  color: var(--primary);
  font-weight: 600;
}

.spec-value {
  color: var(--text);
}

/* ---------- RELATED SERVICES GRID ---------- */
.related-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-decoration: none;
}

.related-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  text-decoration: none;
}

.related-card-img {
  height: 180px;
  overflow: hidden;
}

.related-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.related-card:hover .related-card-img img {
  transform: scale(1.05);
}

.related-card-body {
  padding: 20px;
}

.related-card-body h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.related-card-body p {
  font-size: 13px;
  color: var(--text);
  margin-bottom: 0;
}

/* ---------- CERTIFICATION BADGES ---------- */
.cert-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  height: 100%;
  border-top: 3px solid var(--secondary);
}

.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.cert-card-img {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--border);
}

.cert-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cert-card h5 {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.cert-card p {
  font-size: 13.5px;
  color: var(--text);
  margin-bottom: 0;
}

/* ---------- INDUSTRY DETAIL IMAGE GALLERY ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.gallery-grid .gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  height: 200px;
  box-shadow: var(--shadow);
}

.gallery-grid .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-grid .gallery-item:hover img {
  transform: scale(1.05);
}

/* ---------- INNER PAGE RESPONSIVE ---------- */
@media (max-width: 991px) {
  .page-banner {
    padding: 80px 0 50px;
  }

  .page-banner-content h1 {
    font-size: 32px;
  }

  .img-text-row {
    flex-direction: column;
    gap: 25px;
  }

  .img-text-row .img-col {
    flex: none;
    width: 100%;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .page-banner-content h1 {
    font-size: 26px;
  }

  .page-content {
    padding: 50px 0;
  }

  .content-image-tall {
    height: 250px;
  }

  .content-image-medium {
    height: 200px;
  }

  .team-card-img {
    height: 220px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .page-banner-content h1 {
    font-size: 22px;
  }
}
